﻿package com.jalheart.utils{
	public	class	Punto3D{
		private	var	_posX	:	Number;
		private	var	_posY	:	Number;
		private	var	_posZ	:	Number;
		public	function	Punto3D(px:Number=0,py:Number=0,pz:Number=0)
		{
			_posX	=	px;
			_posY	=	py;
			_posZ	=	pz;
		}
		public	function	set	x(px:Number):void
		{
			_posX	=	px;
		}
		public	function	get	x():Number
		{
			return	_posX;
		}
		public	function	set	y(py:Number):void
		{
			_posY	=	py;
		}
		public	function	get	y():Number
		{
			return	_posY;
		}
		public	function	set	z(pz:Number):void
		{
			_posZ	=	pz;
		}
		public	function	get	z():Number
		{
			return	_posZ;
		}
		public	function	toString():String
		{
			return	"x:"+x+", y:"+y+", z:"+z;
		}
	}
}